/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. 
 */
package com.icinfo.cloud.provider.punish.config.service;

import com.icinfo.cloud.provider.punish.config.dto.ConfigApprovalFlowAutoRequest;
import com.icinfo.cloud.provider.punish.config.dto.ConfigDocumentApprovalFlowAutoSaveDto;
import com.icinfo.cloud.provider.punish.config.vo.ConfigAllRoleInfoVo;
import com.icinfo.cloud.provider.punish.config.vo.ConfigApprovalFlowAutoVo;
import com.icinfo.framework.core.service.BaseService;

import java.util.List;

/**
 * 描述:  config_approval_flow_auto 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2022年12月05日
 */
public interface IConfigApprovalFlowAutoService extends BaseService {
    /**
     * 自动审批配置列表
     * @author liyafeng
     * @date 2022/12/5
      * @param request
     * @return {@link List< ConfigApprovalFlowAutoVo>}
     */
    List<ConfigApprovalFlowAutoVo> getConfigApprovalFlowAutoVoList(ConfigApprovalFlowAutoRequest request);
    /**
     * 自动审批配置
     * @author liyafeng
     * @date 2022/12/6
      * @param saveDto
     * @return {@link int}
     */
    int saveConfigDocumentApprovalFlowAuto(ConfigDocumentApprovalFlowAutoSaveDto saveDto);
    /**
     * 根据审批流查看所有角色信息
     * @author liyafeng
     * @date 2022/12/11
      * @param approvalFolwId
     * @return {@link ConfigAllRoleInfoVo}
     */
    ConfigAllRoleInfoVo getApprovalRoleInfoByApprovalFolwId(String approvalFolwId);
}